package com.zhiyun.notifier.props;

import org.springframework.boot.context.properties.ConfigurationProperties;

@ConfigurationProperties(prefix = "notifier.ding")
public class DingProperties {

    /** 是否启用 **/
    private boolean enable;

    /** 手机号 以逗号分隔 **/
    private String mobiles;

    /** 是否开启上线通知 **/
    private boolean upNotifier;

    /** 是否开启下线通知 **/
    private boolean downNotifier;

    /** 钉钉机器人url **/
    private String robotUrl;

    /** 关键字 **/
    private String keyword;

    /** 应用名称 **/
    private String applicationName;

    /** 环境 **/
    private String env;

    public String getMobiles() {
        return mobiles;
    }

    public void setMobiles(String mobiles) {
        this.mobiles = mobiles;
    }

    public boolean isUpNotifier() {
        return upNotifier;
    }

    public void setUpNotifier(boolean upNotifier) {
        this.upNotifier = upNotifier;
    }

    public boolean isDownNotifier() {
        return downNotifier;
    }

    public void setDownNotifier(boolean downNotifier) {
        this.downNotifier = downNotifier;
    }

    public String getRobotUrl() {
        return robotUrl;
    }

    public void setRobotUrl(String robotUrl) {
        this.robotUrl = robotUrl;
    }

    public String getKeyword() {
        return keyword;
    }

    public void setKeyword(String keyword) {
        this.keyword = keyword;
    }

    public String getApplicationName() {
        return applicationName;
    }

    public void setApplicationName(String applicationName) {
        this.applicationName = applicationName;
    }

    public String getEnv() {
        return env;
    }

    public void setEnv(String env) {
        this.env = env;
    }

    public boolean isEnable() {
        return enable;
    }

    public void setEnable(boolean enable) {
        this.enable = enable;
    }
}
